<p class="Paragraph"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Result:</span> Any numeric variable that records the result of the combination.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Expression1, Expression2:</span> Any expressions that you want to combine.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>Boolean expressions combined with AND only return the value <span class="T1">True</span> if both expressions evaluate to <span class="T1">True</span>:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">True</span> AND <span class="T1">True</span> returns <span class="T1">True</span>; for all other combinations the result is <span class="T1">False</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>The AND operator also performs a bitwise comparison of identically positioned bits in two numeric expressions.</p>
<p class="PropText"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</p>
<p class="PropText"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/>Dim vVarOut as Variant</p>
<p class="PropText"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>A = 10: B = 8: C = 6: D = Null</p>
<p class="PropText"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>vVarOut = A > B And B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>vVarOut = B > A And B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns 0</p>
<p class="PropText"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>vVarOut = A > B And B > D <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>vVarOut = (B > D And B > A) REM returns 0</p>
<p class="PropText"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>vVarOut = B And A <text:s text:c="10" xmlns:text="http://openoffice.org/2000/text"/>REM returns 8 due to the bitwise AND combination of both arguments</p>